<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>minid.ex</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "minid.ex";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/minid.ex.html" class="symbol">minid.ex</a></h1>
  
<p class="sec_header">License:</p>Copyright (c) 2008 Jarrett Billingsley
<p class="bl"/>
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the
use of this software.
<p class="bl"/>
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it freely,
subject to the following restrictions:
<p class="bl"/>
    1. The origin of this software must not be misrepresented; you must not
	claim that you wrote the original software. If you use this software in a
	product, an acknowledgment in the product documentation would be
	appreciated but is not required.
<p class="bl"/>
    2. Altered source versions must be plainly marked as such, and must not
	be misrepresented as being the original software.
<p class="bl"/>
    3. This notice may not be removed or altered from any source distribution.
<dl>
<dt class="decl">struct <a class="symbol _struct" name="CreateClass" href="./htmlsrc/minid.ex.html#L44" kind="struct" beg="44" end="91">CreateClass</a>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#CreateClass" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L44">#</a></dt>
<dd class="ddef">
<div class="summary">WHAT</div>
You didn't see this.  Move along.  &lt;__&lt;
<dl>
<dt class="decl">MDThread* <a class="symbol _variable" name="CreateClass.t" href="./htmlsrc/minid.ex.html#L46" kind="variable" beg="46" end="46">t</a>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#CreateClass.t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L46">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">char[] <a class="symbol _variable" name="CreateClass.name" href="./htmlsrc/minid.ex.html#L47" kind="variable" beg="47" end="47">name</a>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#CreateClass.name" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L47">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">word <a class="symbol _variable" name="CreateClass.idx" href="./htmlsrc/minid.ex.html#L48" kind="variable" beg="48" end="48">idx</a>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#CreateClass.idx" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L48">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">void <a class="symbol _function" name="CreateClass.opCall" href="./htmlsrc/minid.ex.html#L50" kind="function" beg="50" end="64">opCall</a><span class="params">(MDThread* <em>t</em>, char[] <em>name</em>, void delegate(CreateClass*) <em>dg</em>)</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#CreateClass.opCall" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L50">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">void <a class="symbol _function" name="CreateClass.opCall:2" href="./htmlsrc/minid.ex.html#L66" kind="function" beg="66" end="84">opCall</a><span class="params">(MDThread* <em>t</em>, char[] <em>name</em>, char[] <em>base</em>, void delegate(CreateClass*) <em>dg</em>)</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#CreateClass.opCall:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L66">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">void <a class="symbol _function" name="CreateClass.method" href="./htmlsrc/minid.ex.html#L86" kind="function" beg="86" end="90">method</a><span class="params">(char[] <em>name</em>, NativeFunc <em>f</em>, uword <em>numUpvals</em> = 0)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#CreateClass.method" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L86">#</a></dt>
<dd class="ddef"></dd></dl></dd>
<dt class="decl">struct <a class="symbol _struct" name="StrBuffer" href="./htmlsrc/minid.ex.html#L114" kind="struct" beg="114" end="245">StrBuffer</a>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#StrBuffer" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L114">#</a></dt>
<dd class="ddef">
<div class="summary">A utility structure for building up strings out of several pieces more efficiently than by just pushing
all the bits and concatenating.  This struct keeps an internal buffer so that strings are built up in
large chunks.</div>
This struct uses the stack of a thread to hold its intermediate results, so if you perform any stack
manipulation to calls to this struct's functions, make sure your stack operations are balanced, or you
will mess up the string building.  Also, negative stack indices may change where they reference during
string building since the stack may grow, so be sure to use absolute (positive) indices where necessary.
<p class="bl"/>
A typical use looks something like this:
<p class="bl"/>
<pre class="d_code">
<span class="k">auto</span> <span class="i">buf</span> = <span class="i">StrBuffer</span>(<span class="i">t</span>);
<span class="i">buf</span>.<span class="i">addString</span>(<span class="i">someString</span>);
<span class="i">buf</span>.<span class="i">addChar</span>(<span class="i">someChar</span>);
<span class="lc">// ...</span>
<span class="k">auto</span> <span class="i">strIdx</span> = <span class="i">buf</span>.<span class="i">finish</span>();
<span class="lc">// The stack is how it was before we created the buffer, except with the result string is on top.</span>
</pre>
<dl>
<dt class="decl">MDThread* <a class="symbol _variable" name="StrBuffer.t" href="./htmlsrc/minid.ex.html#L116" kind="variable" beg="116" end="116">t</a>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#StrBuffer.t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L116">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _variable" name="StrBuffer.numPieces" href="./htmlsrc/minid.ex.html#L117" kind="variable" beg="117" end="117">numPieces</a>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#StrBuffer.numPieces" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L117">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _variable" name="StrBuffer.pos" href="./htmlsrc/minid.ex.html#L118" kind="variable" beg="118" end="118">pos</a>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#StrBuffer.pos" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L118">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">char[512] <a class="symbol _variable" name="StrBuffer.data" href="./htmlsrc/minid.ex.html#L119" kind="variable" beg="119" end="119">data</a>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#StrBuffer.data" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L119">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">StrBuffer <a class="symbol _function" name="StrBuffer.opCall" href="./htmlsrc/minid.ex.html#L124" kind="function" beg="124" end="129">opCall</a><span class="params">(MDThread* <em>t</em>)</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#StrBuffer.opCall" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L124">#</a></dt>
<dd class="ddef">
<div class="summary">Create an instance of this struct.  The struct is bound to a single thread.</div></dd>
<dt class="decl">void <a class="symbol _function" name="StrBuffer.addChar" href="./htmlsrc/minid.ex.html#L134" kind="function" beg="134" end="145">addChar</a><span class="params">(dchar <em>c</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#StrBuffer.addChar" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L134">#</a></dt>
<dd class="ddef">
<div class="summary">Add a character to the internal buffer.</div></dd>
<dt class="decl">void <a class="symbol _function" name="StrBuffer.addString" href="./htmlsrc/minid.ex.html#L150" kind="function" beg="150" end="154">addString</a><span class="params">(char[] <em>s</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#StrBuffer.addString" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L150">#</a></dt>
<dd class="ddef">
<div class="summary">Add a string to the internal buffer.</div></dd>
<dt class="decl">void <a class="symbol _function" name="StrBuffer.addTop" href="./htmlsrc/minid.ex.html#L161" kind="function" beg="161" end="195">addTop</a><span class="params">()</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#StrBuffer.addTop" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L161">#</a></dt>
<dd class="ddef">
<div class="summary">Add the value on top of the stack to the buffer.  This is the only function that breaks the
	rule of leaving the stack balanced.  For this function to work, you must have exactly one
	value on top of the stack, and it must be a string or a char.</div></dd>
<dt class="decl">uint <a class="symbol _function" name="StrBuffer.sink" href="./htmlsrc/minid.ex.html#L201" kind="function" beg="201" end="205">sink</a><span class="params">(char[] <em>s</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#StrBuffer.sink" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L201">#</a></dt>
<dd class="ddef">
<div class="summary">A convenience function for hooking up to the Tango IO and formatting facilities.  You can pass
	"&buf._sink" to many Tango functions that expect a _sink function for string data.</div></dd>
<dt class="decl">word <a class="symbol _function" name="StrBuffer.finish" href="./htmlsrc/minid.ex.html#L211" kind="function" beg="211" end="222">finish</a><span class="params">()</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#StrBuffer.finish" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L211">#</a></dt>
<dd class="ddef">
<div class="summary">Indicate that the string building is complete.  This function will leave just the finished string
	on top of the stack.  The StrBuffer will also be in a state to build a new string if you so desire.</div></dd>
<dt class="decl">void <a class="symbol _function" name="StrBuffer.flush" href="./htmlsrc/minid.ex.html#L224" kind="function" beg="224" end="233">flush</a><span class="params">()</span>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#StrBuffer.flush" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L224">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">void <a class="symbol _function" name="StrBuffer.incPieces" href="./htmlsrc/minid.ex.html#L235" kind="function" beg="235" end="244">incPieces</a><span class="params">()</span>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#StrBuffer.incPieces" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L235">#</a></dt>
<dd class="ddef"></dd></dl></dd>
<dt class="decl">void <a class="symbol _function" name="checkAnyParam" href="./htmlsrc/minid.ex.html#L251" kind="function" beg="251" end="255">checkAnyParam</a><span class="params">(MDThread* <em>t</em>, word <em>index</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#checkAnyParam" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L251">#</a></dt>
<dd class="ddef">
<div class="summary">Check that there is any parameter at the given index.  You can use this to ensure that a minimum number
of parameters were passed to your function.</div></dd>
<dt class="decl">bool <a class="symbol _function" name="checkBoolParam" href="./htmlsrc/minid.ex.html#L261" kind="function" beg="261" end="269">checkBoolParam</a><span class="params">(MDThread* <em>t</em>, word <em>index</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#checkBoolParam" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L261">#</a></dt>
<dt class="decl">mdint <a class="symbol _function" name="checkIntParam" href="./htmlsrc/minid.ex.html#L272" kind="function" beg="272" end="280">checkIntParam</a><span class="params">(MDThread* <em>t</em>, word <em>index</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#checkIntParam" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L272">#</a></dt>
<dt class="decl">mdfloat <a class="symbol _function" name="checkFloatParam" href="./htmlsrc/minid.ex.html#L283" kind="function" beg="283" end="291">checkFloatParam</a><span class="params">(MDThread* <em>t</em>, word <em>index</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#checkFloatParam" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L283">#</a></dt>
<dt class="decl">dchar <a class="symbol _function" name="checkCharParam" href="./htmlsrc/minid.ex.html#L294" kind="function" beg="294" end="302">checkCharParam</a><span class="params">(MDThread* <em>t</em>, word <em>index</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#checkCharParam" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L294">#</a></dt>
<dt class="decl">char[] <a class="symbol _function" name="checkStringParam" href="./htmlsrc/minid.ex.html#L305" kind="function" beg="305" end="313">checkStringParam</a><span class="params">(MDThread* <em>t</em>, word <em>index</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#checkStringParam" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L305">#</a></dt>
<dd class="ddef">
<div class="summary">These all check that a parameter of the given type was passed at the given index, and return the value
of that parameter.  Very simple.</div></dd>
<dt class="decl">mdfloat <a class="symbol _function" name="checkNumParam" href="./htmlsrc/minid.ex.html#L319" kind="function" beg="319" end="330">checkNumParam</a><span class="params">(MDThread* <em>t</em>, word <em>index</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#checkNumParam" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L319">#</a></dt>
<dd class="ddef">
<div class="summary">Checks that the parameter at the given index is an int or a float, and returns the value as a float,
casting ints to floats as necessary.</div></dd>
<dt class="decl">void <a class="symbol _function" name="checkInstParam" href="./htmlsrc/minid.ex.html#L335" kind="function" beg="335" end="341">checkInstParam</a><span class="tparams">()</span><span class="params">(MDThread* <em>t</em>, word <em>index</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#checkInstParam" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L335">#</a></dt>
<dd class="ddef">
<div class="summary">Checks that the parameter at the given index is an instance.</div></dd>
<dt class="decl">void <a class="symbol _function" name="checkInstParam:2" href="./htmlsrc/minid.ex.html#L351" kind="function" beg="351" end="369">checkInstParam</a><span class="tparams">()</span><span class="params">(MDThread* <em>t</em>, word <em>index</em>, char[] <em>name</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#checkInstParam:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L351">#</a></dt>
<dd class="ddef">
<div class="summary">Checks that the parameter at the given index is an instance of the class given by name.  name must
be a dotted-identifier name suitable for passing into lookup().</div>
<p class="sec_header">Params:</p>
<table class="params">
<tr><td><em>index</em></td><td>The stack index of the parameter to check.</td></tr>
<tr><td><em>name</em></td><td>The name of the class from which the given parameter must be derived.</td></tr></table></dd>
<dt class="decl">T* <a class="symbol _function" name="checkInstParam:3" href="./htmlsrc/minid.ex.html#L375" kind="function" beg="375" end="379">checkInstParam</a><span class="tparams">(T)</span><span class="params">(MDThread* <em>t</em>, word <em>index</em>, char[] <em>name</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#checkInstParam:3" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L375">#</a></dt>
<dd class="ddef">
<div class="summary">Same as above, but also takes a template type parameter that should be a struct the same size as the
given instance's extra bytes.  Returns the extra bytes cast to a pointer to that struct type.</div></dd>
<dt class="decl">void <a class="symbol _function" name="checkParam" href="./htmlsrc/minid.ex.html#L384" kind="function" beg="384" end="392">checkParam</a><span class="params">(MDThread* <em>t</em>, word <em>index</em>, MDValue.Type <em>type</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#checkParam" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L384">#</a></dt>
<dd class="ddef">
<div class="summary">Checks that the parameter at the given index is of the given type.</div></dd>
<dt class="decl">void <a class="symbol _function" name="paramTypeError" href="./htmlsrc/minid.ex.html#L398" kind="function" beg="398" end="406">paramTypeError</a><span class="params">(MDThread* <em>t</em>, word <em>index</em>, char[] <em>expected</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#paramTypeError" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L398">#</a></dt>
<dd class="ddef">
<div class="summary">Throws an informative exception about the parameter at the given index, telling the parameter index ('this' for
parameter 0), the expected type, and the actual type.</div></dd>
<dt class="decl">bool <a class="symbol _function" name="optBoolParam" href="./htmlsrc/minid.ex.html#L413" kind="function" beg="413" end="422">optBoolParam</a><span class="params">(MDThread* <em>t</em>, word <em>index</em>, bool <em>def</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#optBoolParam" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L413">#</a></dt>
<dt class="decl">mdint <a class="symbol _function" name="optIntParam" href="./htmlsrc/minid.ex.html#L425" kind="function" beg="425" end="434">optIntParam</a><span class="params">(MDThread* <em>t</em>, word <em>index</em>, mdint <em>def</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#optIntParam" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L425">#</a></dt>
<dt class="decl">mdfloat <a class="symbol _function" name="optFloatParam" href="./htmlsrc/minid.ex.html#L437" kind="function" beg="437" end="446">optFloatParam</a><span class="params">(MDThread* <em>t</em>, word <em>index</em>, mdfloat <em>def</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#optFloatParam" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L437">#</a></dt>
<dt class="decl">dchar <a class="symbol _function" name="optCharParam" href="./htmlsrc/minid.ex.html#L449" kind="function" beg="449" end="458">optCharParam</a><span class="params">(MDThread* <em>t</em>, word <em>index</em>, dchar <em>def</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#optCharParam" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L449">#</a></dt>
<dt class="decl">char[] <a class="symbol _function" name="optStringParam" href="./htmlsrc/minid.ex.html#L461" kind="function" beg="461" end="470">optStringParam</a><span class="params">(MDThread* <em>t</em>, word <em>index</em>, char[] <em>def</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#optStringParam" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L461">#</a></dt>
<dd class="ddef">
<div class="summary">These all get an optional parameter of the given type at the given index.  If no parameter was passed to that
index or if 'null' was passed, 'def' is returned; otherwise, the passed parameter must match the given type
and its value is returned.  This is the same behavior as in MiniD.</div></dd>
<dt class="decl">mdfloat <a class="symbol _function" name="optNumParam" href="./htmlsrc/minid.ex.html#L476" kind="function" beg="476" end="485">optNumParam</a><span class="params">(MDThread* <em>t</em>, word <em>index</em>, mdfloat <em>def</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#optNumParam" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L476">#</a></dt>
<dd class="ddef">
<div class="summary">Just like the above, allowing ints or floats, and returns the value cast to a float, casting ints
to floats as necessary.</div></dd>
<dt class="decl">bool <a class="symbol _function" name="optParam" href="./htmlsrc/minid.ex.html#L491" kind="function" beg="491" end="500">optParam</a><span class="params">(MDThread* <em>t</em>, word <em>index</em>, MDValue.Type <em>type</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#optParam" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L491">#</a></dt>
<dd class="ddef">
<div class="summary">Similar to above, but works for any type.  Returns false to mean that no parameter was passed,
and true to mean that one was.</div></dd>
<dt class="decl">T* <a class="symbol _function" name="getMembers" href="./htmlsrc/minid.ex.html#L507" kind="function" beg="507" end="518">getMembers</a><span class="tparams">(T)</span><span class="params">(MDThread* <em>t</em>, word <em>index</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#getMembers" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L507">#</a></dt>
<dd class="ddef">
<div class="summary">For the instance at the given index, gets the extra bytes and returns them cast to a pointer to the
given type.  Checks that the number of extra bytes is at least the size of the given type, but
this should not be used as a foolproof way of identifying the type of instances.</div></dd>
<dt class="decl">word <a class="symbol _function" name="lookup" href="./htmlsrc/minid.ex.html#L550" kind="function" beg="550" end="574">lookup</a><span class="params">(MDThread* <em>t</em>, char[] <em>name</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#lookup" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L550">#</a></dt>
<dd class="ddef">
<div class="summary">Look up some value using a name that looks like a chain of dot-separated identifiers (like a MiniD expression).
The _name must follow the regular expression "\w[\w\d]*(\.\w[\w\d]*)*".  No spaces are allowed.  The looked-up
value is left at the top of the stack.</div>
This functions behaves just as though you were evaluating this expression in MiniD.  Global _lookup and opField
metamethods are respected.
<p class="bl"/>
<pre class="d_code">
<span class="k">auto</span> <span class="i">slot</span> = <span class="i">lookup</span>(<span class="i">t</span>, <span class="sl">"time.Timer"</span>);
<span class="i">pushNull</span>(<span class="i">t</span>);
<span class="i">rawCall</span>(<span class="i">t</span>, <span class="i">slot</span>, <span class="n">1</span>);
<span class="lc">// We now have an instance of time.Timer on top of the stack.</span>
</pre>
<p class="bl"/>
If you want to set a long _name, such as "foo.bar.baz.quux", you just _lookup everything but the last _name and
use 'fielda' to set it:
<p class="bl"/>
<pre class="d_code">
<span class="k">auto</span> <span class="i">slot</span> = <span class="i">lookup</span>(<span class="i">t</span>, <span class="sl">"foo.bar.baz"</span>);
<span class="i">pushInt</span>(<span class="i">t</span>, <span class="n">5</span>);
<span class="i">fielda</span>(<span class="i">t</span>, <span class="i">slot</span>, <span class="sl">"quux"</span>);
</pre>
<p class="sec_header">Params:</p>
<table class="params">
<tr><td><em>name</em></td><td>The dot-separated _name of the value to look up.</td></tr></table>
<p class="sec_header">Returns:</p>The stack index of the looked-up value.</dd>
<dt class="decl">word <a class="symbol _function" name="lookupCT" href="./htmlsrc/minid.ex.html#L585" kind="function" beg="585" end="589">lookupCT</a><span class="tparams">(char[] name)</span><span class="params">(MDThread* <em>t</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#lookupCT" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L585">#</a></dt>
<dd class="ddef">
<div class="summary">Very similar to lookup, this function trades a bit of code bloat for the benefits of checking that the name is valid
at compile time and of being faster.  The name is validated and translated directly into a series of API calls, meaning
this function will be likely to be inlined.  The usage is exactly the same as lookup, except the name is now a template
parameter instead of a normal parameter.</div>
<p class="sec_header">Returns:</p>The stack index of the looked-up value.</dd>
<dt class="decl">word <a class="symbol _function" name="getRegistryVar" href="./htmlsrc/minid.ex.html#L598" kind="function" beg="598" end="604">getRegistryVar</a><span class="params">(MDThread* <em>t</em>, char[] <em>name</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#getRegistryVar" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L598">#</a></dt>
<dd class="ddef">
<div class="summary">Pushes the variable that is stored in the registry with the given name onto the stack.  An error will be thrown if the variable
does not exist in the registry.</div>
<p class="sec_header">Returns:</p>The stack index of the newly-pushed value.</dd>
<dt class="decl">void <a class="symbol _function" name="setRegistryVar" href="./htmlsrc/minid.ex.html#L609" kind="function" beg="609" end="615">setRegistryVar</a><span class="params">(MDThread* <em>t</em>, char[] <em>name</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#setRegistryVar" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L609">#</a></dt>
<dd class="ddef">
<div class="summary">Pops the value off the top of the stack and sets it into the given registry variable.</div></dd>
<dt class="decl">word <a class="symbol _function" name="loadString" href="./htmlsrc/minid.ex.html#L631" kind="function" beg="631" end="653">loadString</a><span class="params">(MDThread* <em>t</em>, char[] <em>code</em>, bool <em>customEnv</em> = false, char[] <em>name</em> = "&lt;loaded by loadString&gt;")</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#loadString" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L631">#</a></dt>
<dd class="ddef">
<div class="summary">Similar to the _loadString function in the MiniD base library, this compiles some statements
into a function that takes variadic arguments and pushes that function onto the stack.</div>
<p class="sec_header">Params:</p>
<table class="params">
<tr><td><em>code</em></td><td>The source _code of the function.  This should be one or more statements.</td></tr>
<tr><td><em>customEnv</em></td><td>If true, expects the value on top of the stack to be a namespace which will be
		set as the environment of the new function.  The namespace will be replaced.  Defaults
		to false, in which case the current function's environment will be used.</td></tr>
<tr><td><em>name</em></td><td>The _name to give the function.  Defaults to "<loaded by loadString>".</td></tr></table>
<p class="sec_header">Returns:</p>The stack index of the newly-compiled function.</dd>
<dt class="decl">void <a class="symbol _function" name="runString" href="./htmlsrc/minid.ex.html#L659" kind="function" beg="659" end="664">runString</a><span class="params">(MDThread* <em>t</em>, char[] <em>code</em>, bool <em>customEnv</em> = false, char[] <em>name</em> = "&lt;loaded by runString&gt;")</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#runString" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L659">#</a></dt>
<dd class="ddef">
<div class="summary">This is a quick way to run some MiniD code.  Basically this just calls loadString and then runs
the resulting function with no parameters.  This function's parameters are the same as loadString's.</div></dd>
<dt class="decl">uword <a class="symbol _function" name="eval" href="./htmlsrc/minid.ex.html#L682" kind="function" beg="682" end="705">eval</a><span class="params">(MDThread* <em>t</em>, char[] <em>code</em>, word <em>numReturns</em> = 1, bool <em>customEnv</em> = false)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#eval" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L682">#</a></dt>
<dd class="ddef">
<div class="summary">Similar to the _eval function in the MiniD base library, this compiles an expression, evaluates it,
and leaves the result(s) on the stack.</div>
<p class="sec_header">Params:</p>
<table class="params">
<tr><td><em>code</em></td><td>The source _code of the expression.</td></tr>
<tr><td><em>numReturns</em></td><td>How many return values you want from the expression.  Defaults to 1.  Works just like
		the _numReturns parameter of the call functions; -1 gets all return values.</td></tr>
<tr><td><em>customEnv</em></td><td>If true, expects the value on top of the stack to be a namespace which will be
		used as the environment of the expression.  The namespace will be replaced.  Defaults
		to false, in which case the current function's environment will be used.</td></tr></table>
<p class="sec_header">Returns:</p>If numReturns &gt;= 0, returns numReturns.  If numReturns == -1, returns how many values the expression
	returned.</dd>
<dt class="decl">void <a class="symbol _function" name="mdtry" href="./htmlsrc/minid.ex.html#L750" kind="function" beg="750" end="772">mdtry</a><span class="params">(MDThread* <em>t</em>, void delegate() <em>try_</em>, void delegate(MDException, word) <em>catch_</em>, void delegate() <em>finally_</em> = null)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#mdtry" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L750">#</a></dt>
<dd class="ddef">
<div class="summary">This function abstracts away some of the boilerplate code that is usually associated with try-catch blocks
that handle MiniD exceptions in D code.</div>
This function will store the stack size of the given thread when it is called, before the try code is executed.
If an exception occurs, the stack will be restored to that size, the MiniD exception will be caught (with
catchException), and the catch code will be called with the D exception object and the MiniD exception object's
stack index as parameters.  The catch block is expected to leave the stack balanced, that is, it should be the
same size upon exit as it was upon entry (an error will be thrown if this is not the case).  Lastly, the given
finally code, if any, will be executed as a finally block usually is.
<p class="bl"/>
This function is best used with anonymous delegates, like so:
<p class="bl"/>
<pre class="d_code">
<span class="i">mdtry</span>(<span class="i">t</span>,
<span class="lc">// try block</span>
{
	<span class="lc">// foo bar baz</span>
},
<span class="lc">// catch block</span>
(<span class="i">MDException</span> <span class="i">e</span>, <span class="i">word</span> <span class="i">mdEx</span>)
{
	<span class="lc">// deal with exception here</span>
},
<span class="lc">// finally block</span>
{
	<span class="lc">// cleanup, whatever</span>
});
</pre>
<p class="bl"/>
It can be easy to forget that those blocks are actually delegates, and returning from them just returns from
the delegate instead of from the enclosing function.  Hey, don't look at me; it's D's fault for not having
AST macros ;)
<p class="bl"/>
If you just need a try-finally block, you don't need this function, and please don't call it with a null
catch_ parameter.  Just use a normal try-finally block in that case (or better yet, a scope(exit) block).
<p class="sec_header">Params:</p>
<table class="params">
<tr><td><em>try_</em></td><td>The try code.</td></tr>
<tr><td><em>catch_</em></td><td>The catch code.  It takes two parameters - the D exception object and the stack index of the caught
		MiniD exception object.</td></tr>
<tr><td><em>finally_</em></td><td>The optional finally code.</td></tr></table></dd>
<dt class="decl">T[] <a class="symbol _function" name="allocArray" href="./htmlsrc/minid.ex.html#L790" kind="function" beg="790" end="793">allocArray</a><span class="tparams">(T)</span><span class="params">(MDThread* <em>t</em>, uword <em>length</em>)</span>; <a title="Permalink to this symbol" href="#allocArray" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L790">#</a></dt>
<dd class="ddef">
<div class="summary">Wraps the allocMem API.  Allocates an array of the given type with the given length.
You'll have to explicitly specify the type of the array.</div>
<pre class="d_code">
<span class="k">auto</span> <span class="i">arr</span> = <span class="i">allocArray</span>!(<span class="k">int</span>)(<span class="i">t</span>, <span class="n">10</span>); <span class="lc">// arr is an int[] of length 10</span>
</pre>
<p class="bl"/>
The array returned by this function should not have its length set or be appended to (~=).
<p class="sec_header">Params:</p>
<table class="params">
<tr><td><em>length</em></td><td>The length, in items, of the array to allocate.</td></tr></table>
<p class="sec_header">Returns:</p>The new array.</dd>
<dt class="decl">void <a class="symbol _function" name="resizeArray" href="./htmlsrc/minid.ex.html#L814" kind="function" beg="814" end="819">resizeArray</a><span class="tparams">(T)</span><span class="params">(MDThread* <em>t</em>, ref T[] <em>arr</em>, uword <em>length</em>)</span>; <a title="Permalink to this symbol" href="#resizeArray" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L814">#</a></dt>
<dd class="ddef">
<div class="summary">Wraps the resizeMem API.  Resizes an array to the new length.  Use this instead of using .length on
the array.  <b>Only call this on arrays which have been allocated by the MiniD allocator.</b></div>
Calling this function on a 0-length array is legal and will allocate a new array.  Resizing an existing array to 0
is legal and will deallocate the array.
<p class="bl"/>
The array returned by this function through the arr parameter should not have its length set or be appended to (~=).
<p class="bl"/>
<pre class="d_code">
<span class="i">resizeArray</span>(<span class="i">t</span>, <span class="i">arr</span>, <span class="n">4</span>); <span class="lc">// arr.length is now 4</span>
</pre>
<p class="sec_header">Params:</p>
<table class="params">
<tr><td><em>arr</em></td><td>A reference to the array you want to resize.  This is a reference so that the original array
		reference that you pass in is updated.  This can be a 0-length array.</td></tr>
<tr><td><em>length</em></td><td>The length, in items, of the new size of the array.</td></tr></table></dd>
<dt class="decl">T[] <a class="symbol _function" name="dupArray" href="./htmlsrc/minid.ex.html#L834" kind="function" beg="834" end="837">dupArray</a><span class="tparams">(T)</span><span class="params">(MDThread* <em>t</em>, T[] <em>arr</em>)</span>; <a title="Permalink to this symbol" href="#dupArray" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L834">#</a></dt>
<dd class="ddef">
<div class="summary">Wraps the dupMem API.  Duplicates an array.  This is safe to call on arrays that were not allocated by the MiniD
allocator.  The new array will be the same length and contain the same data as the old array.</div>
The array returned by this function should not have its length set or be appended to (~=).
<p class="bl"/>
<pre class="d_code">
<span class="k">auto</span> <span class="i">newArr</span> = <span class="i">dupArray</span>(<span class="i">t</span>, <span class="i">arr</span>); <span class="lc">// newArr has the same data as arr</span>
</pre>
<p class="sec_header">Params:</p>
<table class="params">
<tr><td><em>arr</em></td><td>The array to duplicate.  This is not required to have been allocated by the MiniD allocator.</td></tr></table></dd>
<dt class="decl">void <a class="symbol _function" name="freeArray" href="./htmlsrc/minid.ex.html#L852" kind="function" beg="852" end="857">freeArray</a><span class="tparams">(T)</span><span class="params">(MDThread* <em>t</em>, ref T[] <em>arr</em>)</span>; <a title="Permalink to this symbol" href="#freeArray" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L852">#</a></dt>
<dd class="ddef">
<div class="summary">Wraps the freeMem API.  Frees an array.  <b>Only call this on arrays which have been allocated by the MiniD allocator.</b>
Freeing a 0-length array is legal.</div>
<pre class="d_code">
<span class="i">freeArray</span>(<span class="i">t</span>, <span class="i">arr</span>);
<span class="i">freeArray</span>(<span class="i">t</span>, <span class="i">newArr</span>);
</pre>
<p class="sec_header">Params:</p>
<table class="params">
<tr><td><em>arr</em></td><td>A reference to the array you want to free.  This is a reference so that the original array
		reference that you pass in is updated.  This can be a 0-length array.</td></tr></table></dd>
<dt class="decl">void <a class="symbol _function" name="validateName" href="./htmlsrc/minid.ex.html#L866" kind="function" beg="866" end="901">validateName</a><span class="params">(MDThread* <em>t</em>, char[] <em>name</em>)</span>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#validateName" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L866">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">template <a class="symbol _template" name="IsIdentBeginChar" href="./htmlsrc/minid.ex.html#L903" kind="template" beg="903" end="906">IsIdentBeginChar</a><span class="tparams">(char c)</span>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#IsIdentBeginChar" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L903">#</a></dt>
<dd class="ddef">
<dl>
<dt class="decl">auto <a class="symbol _variable" name="IsIdentBeginChar.IsIdentBeginChar" href="./htmlsrc/minid.ex.html#L905" kind="variable" beg="905" end="905">IsIdentBeginChar</a>; <span class="attrs">[<span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#IsIdentBeginChar.IsIdentBeginChar" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L905">#</a></dt>
<dd class="ddef"></dd></dl></dd>
<dt class="decl">template <a class="symbol _template" name="IsIdentChar" href="./htmlsrc/minid.ex.html#L908" kind="template" beg="908" end="911">IsIdentChar</a><span class="tparams">(char c)</span>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#IsIdentChar" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L908">#</a></dt>
<dd class="ddef">
<dl>
<dt class="decl">auto <a class="symbol _variable" name="IsIdentChar.IsIdentChar" href="./htmlsrc/minid.ex.html#L910" kind="variable" beg="910" end="910">IsIdentChar</a>; <span class="attrs">[<span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#IsIdentChar.IsIdentChar" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L910">#</a></dt>
<dd class="ddef"></dd></dl></dd>
<dt class="decl">template <a class="symbol _template" name="ValidateNameCTImpl" href="./htmlsrc/minid.ex.html#L913" kind="template" beg="913" end="937">ValidateNameCTImpl</a><span class="tparams">(char[] name, uword start = 0)</span>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#ValidateNameCTImpl" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L913">#</a></dt>
<dd class="ddef">
<dl>
<dt class="decl">template <a class="symbol _template" name="ValidateNameCTImpl.IdentLoop" href="./htmlsrc/minid.ex.html#L915" kind="template" beg="915" end="921">IdentLoop</a><span class="tparams">(uword idx)</span>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#ValidateNameCTImpl.IdentLoop" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L915">#</a></dt>
<dd class="ddef">
<dl>
<dt class="decl">auto <a class="symbol _variable" name="ValidateNameCTImpl.IdentLoop.IdentLoop" href="./htmlsrc/minid.ex.html#L918" kind="variable" beg="918" end="918">IdentLoop</a>; <span class="attrs">[<span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#ValidateNameCTImpl.IdentLoop.IdentLoop" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L918">#</a></dt>
<dd class="ddef"></dd></dl></dd>
<dt class="decl">auto <a class="symbol _variable" name="ValidateNameCTImpl.idx" href="./htmlsrc/minid.ex.html#L926" kind="variable" beg="926" end="926">idx</a>; <span class="attrs">[<span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#ValidateNameCTImpl.idx" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L926">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias Tuple!(name[start .. $]) <a class="symbol _alias" name="ValidateNameCTImpl.ret" href="./htmlsrc/minid.ex.html#L929" kind="alias" beg="929" end="929">ret</a>; <a title="Permalink to this symbol" href="#ValidateNameCTImpl.ret" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L929">#</a></dt>
<dd class="ddef"></dd></dl></dd>
<dt class="decl">template <a class="symbol _template" name="ValidateNameCT" href="./htmlsrc/minid.ex.html#L939" kind="template" beg="939" end="945">ValidateNameCT</a><span class="tparams">(char[] name)</span>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#ValidateNameCT" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L939">#</a></dt>
<dd class="ddef">
<dl>
<dt class="decl">alias ValidateNameCTImpl!(name).ret <a class="symbol _alias" name="ValidateNameCT.ValidateNameCT" href="./htmlsrc/minid.ex.html#L944" kind="alias" beg="944" end="944">ValidateNameCT</a>; <a title="Permalink to this symbol" href="#ValidateNameCT.ValidateNameCT" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L944">#</a></dt>
<dd class="ddef"></dd></dl></dd>
<dt class="decl">template <a class="symbol _template" name="NameToAPICalls_toCalls" href="./htmlsrc/minid.ex.html#L947" kind="template" beg="947" end="953">NameToAPICalls_toCalls</a><span class="tparams">(Names...)</span>; <a title="Permalink to this symbol" href="#NameToAPICalls_toCalls" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L947">#</a></dt>
<dd class="ddef">
<dl>
<dt class="decl">char[] <a class="symbol _variable" name="NameToAPICalls_toCalls.NameToAPICalls_toCalls" href="./htmlsrc/minid.ex.html#L950" kind="variable" beg="950" end="950">NameToAPICalls_toCalls</a>; <span class="attrs">[<span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#NameToAPICalls_toCalls.NameToAPICalls_toCalls" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L950">#</a></dt>
<dd class="ddef"></dd></dl></dd>
<dt class="decl">template <a class="symbol _template" name="NameToAPICallsImpl" href="./htmlsrc/minid.ex.html#L955" kind="template" beg="955" end="959">NameToAPICallsImpl</a><span class="tparams">(char[] name)</span>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#NameToAPICallsImpl" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L955">#</a></dt>
<dd class="ddef">
<dl>
<dt class="decl">alias ValidateNameCT!(name) <a class="symbol _alias" name="NameToAPICallsImpl.t" href="./htmlsrc/minid.ex.html#L957" kind="alias" beg="957" end="957">t</a>; <a title="Permalink to this symbol" href="#NameToAPICallsImpl.t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L957">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">auto <a class="symbol _variable" name="NameToAPICallsImpl.ret" href="./htmlsrc/minid.ex.html#L958" kind="variable" beg="958" end="958">ret</a>; <span class="attrs">[<span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#NameToAPICallsImpl.ret" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L958">#</a></dt>
<dd class="ddef"></dd></dl></dd>
<dt class="decl">template <a class="symbol _template" name="NameToAPICalls" href="./htmlsrc/minid.ex.html#L961" kind="template" beg="961" end="964">NameToAPICalls</a><span class="tparams">(char[] name)</span>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#NameToAPICalls" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L961">#</a></dt>
<dd class="ddef">
<dl>
<dt class="decl">auto <a class="symbol _variable" name="NameToAPICalls.NameToAPICalls" href="./htmlsrc/minid.ex.html#L963" kind="variable" beg="963" end="963">NameToAPICalls</a>; <span class="attrs">[<span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#NameToAPICalls.NameToAPICalls" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.ex.html#L963">#</a></dt>
<dd class="ddef"></dd></dl></dd></dl>
</div>
<div id="footer">
  <p></p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 03:29:20 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>